package com.kaishun.study.filestrategy;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Package: com.kaishun.study.filestrategy
 * @ClassName: DFileResole
 * @Author: zhoukaishun
 * @CreateTime: 2021/11/2 10:14
 * @Description:
 */
@Component
@Slf4j
public class DFileResole implements IFileStrategy{


    @Override
    public FileTypeEnum gainFileType() {
        return FileTypeEnum.FILE_D_RESOLVE;
    }

    @Override
    public void resolve(Object object) {
        log.info("D 类型解析文件，参数：{}",object);
        //D类型解析具体逻辑
    }
}
